<DOCTYPE html>
<html>
  <head>
  <meta charset="UTF-8">
  <style type="text/css">
  a [href] {
  color:red;
  }
  </style>
  </head>
  

<body>
<a href="https://www.baidu.com/">baidu</a>



</body>
</html>